package com.gvfish.dao;

import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.gvfish.entity.Constant;

@Repository
public class ConstantDao extends CommonDao<Constant,Long>{
	@Autowired
	private PersistenceManagerFactory persistenceManagerFactory;
	@Override
	public PersistenceManager getPersistenceManager() {
		return persistenceManagerFactory.getPersistenceManager();
	}

	@Override
	public Class<Constant> getTClass() {
		return Constant.class;
	}

}
